#ifndef _SPHERE_TEXTURE_H_
#define _SPHERE_TEXTURE_H_

#include "object.h"

class SphereTexture: public Object {
	Vertex sp;
	float r;
	PPMImage *image;
public:
	SphereTexture(Vertex &psp, float pr, PPMImage *img);
	bool intersect(Ray &ray, Hit *h);
};

#endif
